Setting Up Location Tracking
In order to generate a report containing the last X number of locations for devices, follow the following steps:
-
Create an Assemble rules file that specifies the following.
-
Which devices you want to track.
-
How many past location points you want to keep.
-
-
Schedule Assemble to run at the intervals you want to track the devices covered in the rules file.
-
Run assemble_locationhistory_vX.X.exe when you need to create a report from the recorded locations for devices.
Here is an example of an Assemble rules file for tracking the last 100 reported locations for all iOS devices.
[RuleNum]
numberofrules=1
sleeptime=2000
location_history_entries=100
[Rule1]
NumberofElements=1
Action=location:record
Element1_trigger=platform
Element1_description=record location of iOS devices
Element1_operator=contains
Element1_source=local
Element1_value=iOS
You can schedule Assemble run using this or any other rules file using Window Task Scheduler (see Scheduling Assemble). If the device location has not changed since the last Assemble run, it will not be recorded again. If the device location exceeds the “location_history_entries” settings, the oldest location will be replaced with the newest location.